<%-- 
    Document   : disciplinaForm
    Created on : 13/08/2011, 10:31:41
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>
<div align="center">
    <p>Disciplina</p>
    <mtw:form action="${formAction}" method="post">
        <mtw:input type="hidden" name="id" id="id"/>
        <table>
            <tr>
                <td>Nome</td>
                <td><mtw:input type="text" id="nome" name="nome" size="50"/></td>
            </tr>
            <tr>
                <td>Descrição</td>
                <td><mtw:textarea id="descricao" name="descricao" rows="5" cols="100"/></td>
            </tr>
            <tr>
                <td>Curso</td>
                <td><mtw:select name="cursoId" list="cursoOptions" emptyField="true" emptyFieldValue="Selecione..." defEmptyFieldValue="0"/></td>
            </tr>
            <tr>
                <td><mtw:submit value="Confirmar"/></td>
                <td><input type="button" value="Cancelar" onclick="location. href='DisciplinaRead.mtw'"/></td>
            </tr>
        </table>

    </mtw:form>
</div>
